package com.ruoyi.system.service;

import com.ruoyi.system.domain.MemberDetailDTO;
import com.ruoyi.system.domain.TMember;

import java.util.List;


public interface ITMemberService
{



    /*根据会员id查询会员信息*/
    public TMember selectTMemberByMemberId(Long memberId);

    /*查询会员列表*/
    public List<TMember> selectTMemberList(TMember member);

    /*增加会员信息*/
    public int insertTMember(TMember tMember);

    /*修改会员信息*/
    public int updateTMember(TMember tMember);

    /*批量删除会员信息*/
    public  int deleteTMemberByMemberIds(Long[] memberIds);

    /*根据会员id，删除会员信息*/
    public int deleteTMemberByMemberId(Long memberId);

    /*根据会员id查询会员详细信息*/
    public MemberDetailDTO selectMemberDetailById(Long memberId);

    /*用户提交会员申请*/
    public int insertTMemberInfo(MemberDetailDTO memberDetailDTO);

    /*根据用户id查询用户名称*/
    public List<TMember> selectUserNameByUserId();
}
